package com.springboot.demo.filter;

import com.cx.item.common.filter.CrossFilter;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.servlet.annotation.WebFilter;

/**
 * 跨域拦截器
 */
@Component
@WebFilter(urlPatterns = "/*", filterName = "myCrossFilter")
@Order(0)
public class MyCrossFilter extends CrossFilter {
}
